package com.xl.utils.util;

/**
 * @Author xionglin
 * @Classname QueueConstant
 * @Description 关于rabbitMQ的全局常量配置
 * @Date 2019/6/19 17:56
 */
public class QueueConstant implements java.io.Serializable {
    /**
     * 私有化构成器避免工具类被实例化
     */
    private QueueConstant(){}

    private static final long serialVersionUID = 1L;
    /**
     * 不处理路由键类型
     */
    public static final String EXCHANGE_FANOUT = "com.exchange.fanout";
    /**
     * 主题路由键类型
     */
    public static final String EXCHANGE_TOPIC = "com.exchange.topic";
    /**
     * 处理路由键类型
     */
    public static final String EXCHANGE_DIRECT = "com.exchange.direct";

    /**
     * 定义的hello通知队列
     */
    public static final String QUEUE_NOTIFY_HELLO = "com.queue.notify.hello";
}
